{"project":"match_media","branch":"main","commit":"673389316cfb1b8f4c69ddb6c6123db4307d3404","component":{"name":"HomePage","nodes":{"root":{"tag":"div","type":"element","children":["qUZX5B_obx9JdrREoZr8I"],"classes":{"bTqdax":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4PzXnrMgPbCDXwOeBSh-d":{"tag":"tr","type":"element","children":["gsI-1AUa5lmWuEi8HU35T","tdbqN1XPeD67O91sRqwkX"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4YjB0h2RjJANnnXrIZ_c9":{"type":"text","value":{"type":"value","value":"This function listens for changes in a specified media query, executes a callback when the query matches or doesn’t match."},"events":null},"616n7TVOO6f-PV1o3Ttcf":{"tag":"section","type":"element","children":["rPritJtWLr5om5Mf7ZQl4","dPIDQY2NRCodcOF5VifV1"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"68TVdvYpG9ikeG2Ie4uyB":{"tag":"span","type":"element","children":["GG_UzEPqME_1I5bbeCEb8"],"classes":{"frjkzB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"87eadmVP11zAMzSzK6AYP":{"tag":"p","type":"element","children":["lPI30qVIYlwHGL5CiusKm"],"classes":{"fmlsuQ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8JMmh1JG6yvg9WglgEwJc":{"tag":"div","type":"element","children":["ys5JTyFnWtRlke7HmBUQV","gKOdXbW-on_939JSdA1t-"],"classes":{"CsusC":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8arJvW1aSKMkJ-U9W3W4R":{"tag":"li","type":"element","children":["p4lQ3DWSctX176GxLCkaN","nbeR1gTs2FGocpB-Ix4cY","CxWoxPoJe5JqFOsggQTa4"],"classes":{"cxefiP":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8uLUEsvxcEV9YxVx5jtll":{"tag":"table","type":"element","children":["4PzXnrMgPbCDXwOeBSh-d"],"classes":{"fmmYYL":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CxWoxPoJe5JqFOsggQTa4":{"tag":"div","type":"element","children":["EmXa1OCrJdND2w1q0-6oq","8uLUEsvxcEV9YxVx5jtll"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"D2aIDiP5YhC6DjhjrFLXh":{"type":"text","value":{"type":"value","value":"Intro"},"events":null},"EmXa1OCrJdND2w1q0-6oq":{"tag":"h4","type":"element","children":["hNUHm7nHkWpvPHXvRxO1k"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"GG_UzEPqME_1I5bbeCEb8":{"type":"text","value":{"path":["Variables","demo-value"],"type":"path"},"events":null},"MoIUtqckSUK8Sw2zj2VVD":{"tag":"h2","type":"element","children":["N_e0OQ70RPGGNHp3Osim_"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"N_e0OQ70RPGGNHp3Osim_":{"type":"text","value":{"type":"value","value":"Actions"},"events":null},"Ocz0955gPBhgnA5gXkqXn":{"tag":"h2","type":"element","children":["D2aIDiP5YhC6DjhjrFLXh"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"P9UCR6ZA57Ccg6g7v0Wo6":{"tag":"section","type":"element","children":["MoIUtqckSUK8Sw2zj2VVD","YdgLA1Nmb5JFlMw832orN"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Q-QVIkeZvnibc3gQ3XviW":{"type":"text","value":{"type":"value","value":"matchMedia"},"events":null},"UzpDtOEBaun1oiuvyBoye":{"type":"text","value":{"type":"value","value":"query"},"events":null},"V7cYq32mKfsrrK41IsyHP":{"type":"text","value":{"type":"value","value":"Example:\n- (max-width: 600px)\n- (prefers-color-scheme: dark)\n- (orientation: portrait)"},"events":null},"Vqxf_8CW-icGEeuw3haqS":{"type":"text","value":{"type":"value","value":"Demo"},"events":null},"YdgLA1Nmb5JFlMw832orN":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["8arJvW1aSKMkJ-U9W3W4R"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bdVX813ourWGALtmvHDX6":{"tag":"p","type":"element","children":["uhkdG54Xmn8ReHAiHtXza"],"classes":{"sahaH":{"formula":{"type":"value","value":true}}},"customProperties":{}},"dPIDQY2NRCodcOF5VifV1":{"tag":"div","type":"element","children":["qo1NQlCVxps2hZ6tLZKYS"],"classes":{"YTJFj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gKOdXbW-on_939JSdA1t-":{"tag":"div","type":"element","children":["jD-wKYaGpnUIkDvD7xK3c","bdVX813ourWGALtmvHDX6"],"classes":{"eozNhk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gsI-1AUa5lmWuEi8HU35T":{"tag":"td","type":"element","children":["UzpDtOEBaun1oiuvyBoye"],"classes":{"fhanpd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hNUHm7nHkWpvPHXvRxO1k":{"type":"text","value":{"type":"value","value":"Arguments"},"events":null},"hVG2Qu2I9ihxg1FaW89ym":{"tag":"section","type":"element","children":["Ocz0955gPBhgnA5gXkqXn","8JMmh1JG6yvg9WglgEwJc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jD-wKYaGpnUIkDvD7xK3c":{"tag":"h3","type":"element","children":["lUPGFYkSWa1r-o8-U5uH1"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"lPI30qVIYlwHGL5CiusKm":{"type":"text","value":{"type":"value","value":"Window width great than 768. Try resizing window"},"events":null},"lUPGFYkSWa1r-o8-U5uH1":{"type":"text","value":{"type":"value","value":"Match media"},"events":null},"nbeR1gTs2FGocpB-Ix4cY":{"tag":"p","type":"element","children":["4YjB0h2RjJANnnXrIZ_c9"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"p4lQ3DWSctX176GxLCkaN":{"tag":"h3","type":"element","children":["Q-QVIkeZvnibc3gQ3XviW"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qUZX5B_obx9JdrREoZr8I":{"tag":"main","type":"element","children":["hVG2Qu2I9ihxg1FaW89ym","616n7TVOO6f-PV1o3Ttcf","P9UCR6ZA57Ccg6g7v0Wo6"],"classes":{"drWRwT":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qo1NQlCVxps2hZ6tLZKYS":{"tag":"div","type":"element","children":["87eadmVP11zAMzSzK6AYP","68TVdvYpG9ikeG2Ie4uyB"],"classes":{"eYYyhs":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rPritJtWLr5om5Mf7ZQl4":{"tag":"h2","type":"element","children":["Vqxf_8CW-icGEeuw3haqS"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tdbqN1XPeD67O91sRqwkX":{"tag":"td","type":"element","children":["V7cYq32mKfsrrK41IsyHP"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"uhkdG54Xmn8ReHAiHtXza":{"type":"text","value":{"type":"value","value":"Dynamically retreive media information for use in your formulas. Based on `Window: matchMedia() method`\n\nSee: https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia"},"events":null},"ys5JTyFnWtRlke7HmBUQV":{"tag":"iframe","type":"element","attrs":{"src":{"type":"value","value":"https://www.youtube.com/embed/bjoA39sNz40"},"allow":{"type":"value","value":"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"},"title":{"type":"value","value":"How to use this package!"},"height":{"type":"value","value":"100%"},"frameborder":{"type":"value","value":"0"},"allowfullscreen":{"type":"value","value":""}},"classes":{"cVtOXD":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"path":[],"query":{}},"onLoad":{"actions":[{"name":"matchMedia","events":{"change":{"actions":[{"data":{"name":"@toddle/string","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"name":"@toddle/boolean","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"path":["Event"],"type":"path"}}],"display_name":"Boolean"}}],"display_name":"String"},"type":"SetVariable","variable":"demo-value"}],"trigger":"change","dummyEvent":true}},"version":2,"exported":true,"arguments":[{"name":"query","formula":{"type":"value","value":"(min-width: 768px)"}}]}],"trigger":"load"},"functions":{},"variables":{"demo-value":{"initialValue":{"type":"value","value":false}}}},"components":[]}